archive/zip.Writer.cw (field)
22 uses
archive/zip (current package)
writer.go#L26: cw *countWriter
writer.go#L50: return &Writer{cw: &countWriter{w: bufio.NewWriter(w)}}
writer.go#L58: if w.cw.count != 0 {
writer.go#L61: w.cw.count = n
writer.go#L67: return w.cw.w.(*bufio.Writer).Flush()
writer.go#L95: start := w.cw.count
writer.go#L155: if _, err := w.cw.Write(buf[:]); err != nil {
writer.go#L158: if _, err := io.WriteString(w.cw, h.Name); err != nil {
writer.go#L161: if _, err := w.cw.Write(h.Extra); err != nil {
writer.go#L164: if _, err := io.WriteString(w.cw, h.Comment); err != nil {
writer.go#L168: end := w.cw.count
writer.go#L204: if _, err := w.cw.Write(buf[:]); err != nil {
writer.go#L219: if _, err := w.cw.Write(buf[:]); err != nil {
writer.go#L222: if _, err := io.WriteString(w.cw, w.comment); err != nil {
writer.go#L226: return w.cw.w.(*bufio.Writer).Flush()
writer.go#L359: offset: uint64(w.cw.count),
writer.go#L381: zipw: w.cw,
writer.go#L382: compCount: &countWriter{w: w.cw},
writer.go#L399: if err := writeHeader(w.cw, h); err != nil {
writer.go#L511: offset: uint64(w.cw.count),
writer.go#L515: if err := writeHeader(w.cw, h); err != nil {
writer.go#L526: zipw: w.cw,